    <!-- *** CUT top -->
    <table width="800"  border="0" cellspacing="0" cellpadding="0" class="form" id="settings_cache_top_table">
        <tr>
            <td align="left">
                <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <div class="form_title">Cache settings</div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <!-- If you don't want notes erase this START -->
        <tr>
            <td>
                <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="form_note">
                    <!-- Repeat this fo additional notes START -->
                    <tr>
                        <td valign="top" align="left">
                            <table width="100%"  border="0" cellspacing="0" cellpadding="4" class="form_note_title">
                                <tr>
                                    <td><img src="img/modules/form_html_tpl_static_ajax_metallic/exclamation_mark.png" border="0" alt="icon exclamation mark"  width="16" height="16" /></td>
                                    <td width="100%" align="left">Note:</td>
                                </tr>
                            </table>
                        </td>
                        <td align="left" width="99%">
                            <div class="form_note_text">Fields marked with &quot;*&quot; are mandatory.</div>
                        </td>
                    </tr>
                    <!-- Repeat this fo additional notes END-->
                </table>
            </td>
        </tr>
        <!-- If you don't want notes erase this END -->
        <tr>
            <td>
                <div id="settings_cache">
                    <form onsubmit="submit_ajax_settings_cache(); return false;" action="admin/modules/tangra_cms/settings/settings_cache_edit.php" method="post" name="settings_cache_form" enctype="application/x-www-form-urlencoded">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td align="left">
                                    <table width="100%"  border="0" cellspacing="0" cellpadding="0" class="form_row">
                                        <tr>
                                            <td class="form_even_row">
                                                <!-- form_field_checkboxsettings_cache_switch START-->
                                                <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                                                    <tr>
                                                        <td width="180">
                                                            <div align="right">Cache switch:</div>
                                                        </td>
                                                        <td width="1%">
                                                            <input class="form" name="settings_cache_switch" type="checkbox" value="{$settings_cache_switch_val}"{if $settings_cache_switch_checked} checked="checked"{/if} id="settings_cache_switch" />
                                                        </td>
                                                        <td>Checked = cache ON</td>
                                                    </tr>
                                                    {if $settings_cache_switch_has_error}
                                                    <!-- Potential errors START -->
                                                    {if $settings_cache_switch_error_mandatory_missing}
                                                    <!-- mandatory_missing START -->
                                                    <tr>
                                                        <td></td>
                                                        <td colspan="2">
                                                            <div class="form_error_message">Error: Field is mandatory.</div>
                                                        </td>
                                                    </tr>
                                                    <!-- mandatory_missing END -->
                                                    {/if}
                                                    <!-- Potential errors END -->
                                                    {/if}
                                                </table>
                                                <!-- form_field_checkbox settings_cache_switch END-->
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="form_odd_row">
                                                <!-- form_field_integer settings_cache_expiry START-->
                                                <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                                                    <tr>
                                                        <td width="180">
                                                            <div align="right">Cache expires in*:</div>
                                                        </td>
                                                        <td width="1%">
                                                            <input class="form" name="settings_cache_expiry" type="text" value="{$settings_cache_expiry_val}" maxlength="12" size="40" id="settings_cache_expiry" />
                                                        </td>
                                                        <td>Seconds. 0 = regenerate each time, Negative = never expires once generated</td>
                                                    </tr>
                                                    {if $settings_cache_expiry_has_error}
                                                    <!-- Potential errors START -->
                                                    {if $settings_cache_expiry_error_mandatory_missing}
                                                    <!-- mandatory_missing START -->
                                                    <tr>
                                                        <td></td>
                                                        <td colspan="2">
                                                            <div class="form_error_message">Error: Field is mandatory.</div>
                                                        </td>
                                                    </tr>
                                                    <!-- mandatory_missing END -->
                                                    {/if}
                                                    {if $settings_cache_expiry_error_max_length_exceeded}
                                                    <!-- max_length_exceeded START -->
                                                    <tr>
                                                        <td></td>
                                                        <td colspan="2">
                                                            <div class="form_error_message">Error: Allowed maximum of 12 characters exceeded.</div>
                                                        </td>
                                                    </tr>
                                                    <!-- max_length_exceeded END -->
                                                    {/if}
                                                    {if $settings_cache_expiry_error_not_a_number}
                                                    <!-- not_a_number START -->
                                                    <tr>
                                                        <td></td>
                                                        <td colspan="2">
                                                            <div class="form_error_message">Error: Must be number.</div>
                                                        </td>
                                                    </tr>
                                                    <!-- not_a_number END -->
                                                    {/if}
                                                    {if $settings_cache_expiry_error_not_an_integer}
                                                    <!-- not_an_integer START -->
                                                    <tr>
                                                        <td></td>
                                                        <td colspan="2">
                                                            <div class="form_error_message">Error: Must be integer value.</div>
                                                        </td>
                                                    </tr>
                                                    <!-- not_an_integer END -->
                                                    {/if}
                                                    <!-- Potential errors END -->
                                                    {/if}
                                                </table>
                                                <!-- form_field_integer settings_cache_expiry END-->
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="form_even_row">
                                                <!-- form_field_checkboxsettings_cache_locked START-->
                                                <table width="100%" border="0" cellpadding="3" cellspacing="0" class="form_row">
                                                    <tr>
                                                        <td width="180">
                                                            <div align="right">Cache is locked?:</div>
                                                        </td>
                                                        <td width="1%">
                                                            <input class="form" name="settings_cache_locked" type="checkbox" value="{$settings_cache_locked_val}"{if $settings_cache_locked_checked} checked="checked"{/if} id="settings_cache_locked" />
                                                        </td>
                                                        <td>&nbsp;</td>
                                                    </tr>
                                                    {if $settings_cache_locked_has_error}
                                                    <!-- Potential errors START -->
                                                    {if $settings_cache_locked_error_mandatory_missing}
                                                    <!-- mandatory_missing START -->
                                                    <tr>
                                                        <td></td>
                                                        <td colspan="2">
                                                            <div class="form_error_message">Error: Field is mandatory.</div>
                                                        </td>
                                                    </tr>
                                                    <!-- mandatory_missing END -->
                                                    {/if}
                                                    <!-- Potential errors END -->
                                                    {/if}
                                                </table>
                                                <!-- form_field_checkbox settings_cache_locked END-->
                                            </td>
                                        </tr>                                        
                                    </table>
                                    <input type="hidden" name="settings_cache_form_id" value="{$settings_cache_form_id_val}" id="settings_cache_form_id"/>
                                    <input type="hidden" name="settings_cache_guard_value" value="{$settings_cache_guard_value_val}" id="settings_cache_guard_value"/>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="submit_row">
                                        <tr>
                                            <td width="180">&nbsp;</td>
                                            <td width="100" align="left">
                                                <input name="settings_cache_submit" type="submit" value="Save" class="form_submit" />
                                            </td>
                                            <td width="50">&nbsp;</td>
                                            <td>
                                                <div class="form_cancel"><a href="admin/modules/tangra_cms/settings/settings.php">Cancel</a></div>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
            </td>
        </tr>
    </table>
    <!-- *** CUT bottom -->
